package com.qidianit.mes.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author 奇幻夜之梦
 * @Company 起点编程
 * @Description
 * @Time 2024/10/22 17:03
 */
public class BOM {
    private Long bomId;// 流水号
    private Long materialId;// 物料产品ID
    private Long bomMaterialId;// BOM物料ID
    private String bomMaterialCode;// BOM物料编码
    private String bomMaterialName;// BOM物料名称
    private String bomMaterialSpec;// BOM物料规格
    private String bomUnitCode;// BOM物料单位
    private Integer bomType;// 产品|物料
    private Double useScales;// 物料使用比例
    private Integer bomStatus;// 是否启用
    private String remark;// 备注
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;// 创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date modifyTime;// 更新时间

    public Long getBomId() {
        return bomId;
    }

    public void setBomId(Long bomId) {
        this.bomId = bomId;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public Long getBomMaterialId() {
        return bomMaterialId;
    }

    public void setBomMaterialId(Long bomMaterialId) {
        this.bomMaterialId = bomMaterialId;
    }

    public String getBomMaterialCode() {
        return bomMaterialCode;
    }

    public void setBomMaterialCode(String bomMaterialCode) {
        this.bomMaterialCode = bomMaterialCode;
    }

    public String getBomMaterialName() {
        return bomMaterialName;
    }

    public void setBomMaterialName(String bomMaterialName) {
        this.bomMaterialName = bomMaterialName;
    }

    public String getBomMaterialSpec() {
        return bomMaterialSpec;
    }

    public void setBomMaterialSpec(String bomMaterialSpec) {
        this.bomMaterialSpec = bomMaterialSpec;
    }

    public String getBomUnitCode() {
        return bomUnitCode;
    }

    public void setBomUnitCode(String bomUnitCode) {
        this.bomUnitCode = bomUnitCode;
    }

    public Integer getBomType() {
        return bomType;
    }

    public void setBomType(Integer bomType) {
        this.bomType = bomType;
    }

    public Double getUseScales() {
        return useScales;
    }

    public void setUseScales(Double useScales) {
        this.useScales = useScales;
    }

    public Integer getBomStatus() {
        return bomStatus;
    }

    public void setBomStatus(Integer bomStatus) {
        this.bomStatus = bomStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}

